<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gtk4</Name>
        <Homepage>https://www.gtk.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <Icon>gtk4-logo</Icon>
        <Summary>The GIMP Toolkit version 4</Summary>
        <Description>GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.</Description>
        <Archive sha1sum="7ebd51db4de7812dd976fc466b13039b75aefbb6" type="tarxz">mirrors://gnome/gtk/4.10/gtk-4.10.1.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>gettext-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>gi-docgen</Dependency>
            <Dependency>sassc</Dependency>
            <Dependency>docutils</Dependency>
            <Dependency>libcloudproviders-devel</Dependency>
            <Dependency>colord-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>colord-devel</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>at-spi2-atk-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>iso-codes-devel</Dependency>
            <Dependency>graphene-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>gst-plugins-bad-devel</Dependency>
            <Dependency>vulkan-devel</Dependency>
            <Dependency>vulkan-headers</Dependency>
            <Dependency>wayland-devel</Dependency>
            <Dependency>wayland-protocols-devel</Dependency>
            <Dependency>meson</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>librsvg-devel</Dependency>
            <Dependency>json-glib-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>python-docutils</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gtk4</Name>
        <RuntimeDependencies>
            <Dependency>cups</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>colord</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>vulkan</Dependency>
            <Dependency>fribidi</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>wayland</Dependency>
            <Dependency>graphene</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>json-glib</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libxkbcommon</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency>gst-plugins-bad</Dependency>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>libcloudproviders</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/glib-2.0</Path>
            <Path fileType="data">/usr/share/gtk-4.0</Path>
            <Path fileType="data">/usr/share/gettext</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-broadwayd*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-builder-tool*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-encode-symbolic*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-launch*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-query-settings*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-node-editor*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/lib/libgtk*</Path>
            <Path fileType="library">/usr/lib/gtk-4.0</Path>
            <Path fileType="library">/usr/lib/girepository-1.0</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
    </Package>

    <Package>
        <Name>gtk4-demo</Name>
        <IsA>app:gui</IsA>
        <Summary>GTK4 demo applications</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gtk4</Dependency>
            <Dependency>librsvg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gtk4-demo*</Path>
            <Path fileType="executable">/usr/bin/gtk4-icon-browser</Path>
            <Path fileType="executable">/usr/bin/gtk4-print-editor</Path>
            <Path fileType="executable">/usr/bin/gtk4-widget-factory</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/glib-2.0/schemas/org.gtk.Demo4.gschema.xml</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-demo*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-icon-browser*</Path>
            <Path fileType="man">/usr/share/man/man1/gtk4-widget-factory*</Path>
            <Path fileType="info">/usr/share/metainfo</Path>
        </Files>
    </Package>

    <Package>
        <Name>gtk4-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>GTK4 reference documents</Summary>
        <Files>
            <Path fileType="data">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>gtk4-devel</Name>
        <Summary>Development files for GTK4</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gtk4</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>vulkan-devel</Dependency>
            <Dependency>vulkan-headers</Dependency>
            <Dependency>graphene-devel</Dependency>
            <Dependency>wayland-devel</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency>wayland-protocols-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
        </Files>
    </Package>

    <Package>
        <Name>gtk4-update-icon-cache</Name>
        <Summary>GTK4 icon cache updater</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gtk4</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gtk*-update-icon-cache</Path>
            <Path fileType="man">/usr/share/man/man1/gtk*-update-icon-cache*</Path>
        </Files>
    </Package>

    <History>
        <Update release="14">
            <Date>2023-03-14</Date>
            <Version>4.10.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2023-02-13</Date>
            <Version>4.9.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2023-02-05</Date>
            <Version>4.9.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-12-26</Date>
            <Version>4.8.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-10-25</Date>
            <Version>4.8.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-09-16</Date>
            <Version>4.8.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2022-08-17</Date>
            <Version>4.6.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2022-07-02</Date>
            <Version>4.6.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2022-06-24</Date>
            <Version>4.6.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2022-05-31</Date>
            <Version>4.6.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2022-01-03</Date>
            <Version>4.6.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2021-11-02</Date>
            <Version>4.4.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2021-08-23</Date>
            <Version>4.4.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-05-28</Date>
            <Version>4.2.1</Version>
            <Comment>First release.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
